<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<%@ taglib uri="http://amc.af.mil/radtaglibrary" prefix="rad" %>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html-el" %>
<html>
<head>
    <title>Add Item Model</title>
</head>

<body>

<rad:useBean id="equipmentTypeViewHelper"/>
<rad:useBean id="manufacturerViewHelper"/>


    <portal:box style="width:575px" title="Add Item Model">
        <div id="standard">
            <html:form method="post" action="createModelAction.do" styleId="popupForm" >
                <p><label for="manufacturerId">Manufacturer</label>
                    <html:select property="manufacturerId" styleId="manufacturerId">
                        <html:optionsCollection name="manufacturerViewHelper"
                                                property="all"
                                                value="id"
                                                label="name"/>
                    </html:select></p>

                <p><label for="equipmentTypeId">EquipmentType</label>
                    <html:select property="equipmentTypeId" styleId="equipmentTypeId">
                        <html:optionsCollection name="equipmentTypeViewHelper"
                                                property="all"
                                                value="id"
                                                label="name"/>
                    </html:select>
                </p>

                <p><label for="modelName">Name:</label><html:text property="modelName" styleId="modelName"/></p>

                <p><label for="modelName">Processor Speed:</label><html:text property="processorSpeed" styleId="processorSpeed"/></p>

                <p><label for="modelName">Screen Size:</label><html:text property="screenSize" styleId="screenSize" /></p>

                <p><input type="button" value="Create Model" id="createModel" onclick="createModelFakeSubmit()" /> </p>
                <%--<p><html:submit value="Create Model" /></p>--%>
            </html:form>
    </portal:box>
</div>

</body>
</html>